//引入applyMiddleware中间建来支持异步action
import { createStore, applyMiddleware } from "redux";
import reducer from './reducers';
//redux-thunk 支持异步action
import thunk from 'redux-thunk';

export default createStore(reducer, applyMiddleware(thunk)) 